<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		
		function a(y) {
			num = 0
			for (var i =  1; i <= y; i++) {
				num +=i;
			}
			document.write(num);
		}

		a(60);


	</script>
</head>
<body>
	
</body>
</html>